/**
 * @file
 * @auth weibingbing
 * @date 2017/1/19
 */

import Vue from 'vue';
import VueI18n from 'vue-i18n';

import './base/init';
// import CircleBall from '../component/CircleBall.vue';
import LangPopover from '../component/LangPopover.vue';
import Login from '../module/login/main';
import messages from '../module/login/lang';

Vue.use(VueI18n);

let i18n =  new VueI18n({
    locale: window.app.LANG,
    messages, // set locale messages
});

const app = new Vue({
    i18n,
    components: {
        LangPopover,
        Login,
        // CircleBall
    }
}).$mount('#app');